import Vue from 'vue'
import { Button, Rate } from 'element-ui'

Vue.use(Button) // 相当于vue.component("button",button)
Vue.use(Rate)